package com.yjd.bi.jf.service;

import com.yjd.bi.jf.model.JfOrderDetailProductSnapshotModel;
import com.yjd.comm.base.service.IBaseService;

/**
 * <b>description</b>：会员年积分订单明细快照表业务接口<br>
 * <b>time</b>：2017-03-07 15:17:05 <br>
 * <b>author</b>：  ready percy-chen@hotmail.com
 */
public interface IJfOrderDetailProductSnapshotService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public JfOrderDetailProductSnapshotModel insert(JfOrderDetailProductSnapshotModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(JfOrderDetailProductSnapshotModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param order_detail_id
	 * @return
	 * @throws Exception
	 */
	public int delete(long order_detail_id) throws Exception;

}
